using FreeSql;
using FreeSql.DataAnnotations;

namespace CKS.Models
{
	/// <summary>
	/// OP10请求出料
	/// </summary>
	[Table(Name = "agvserver_tasks")]
	public class agvserver_tasks
	{
		/// <summary>
		/// 任务编号
		/// </summary>
		public long Id { get; set; }
		/// <summary>
		/// 任务描述
		/// </summary>
		public string Desc { get; set; }
		/// <summary>
		/// 零件类型
		/// </summary>
		public int PartType { get; set; }
        /// <summary>
        /// 小车类型 0潜伏式 1叉车
        /// </summary>
        public int CarType { get; set; }
        /// <summary>
        /// 任务类型 1请求送 2请求取
        /// </summary>
        public int TaskType {  get; set; }


        /// <summary>
        /// 任务状态0待匹配，1匹配成功、转化输送任务     10已完成
        /// </summary>
        public int TaskStatus { get; set; }
		/// <summary>
		/// 匹配成功生成的输送任务Id
		/// </summary>
		public long ConveyId { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreatedTime { get; set; } = DateTime.Now;
		/// <summary>
		/// 
		/// </summary>
		public bool IsDeleted { get; set; }
        public int StartPathPoint { get;  set; }
        public int EndPathPoint { get;  set; }
		/// <summary>
		/// 调用者PlcId
		/// </summary>
        public int CallerPlcId { get;  set; }
    }
}